W32: Fix menu item size and submenu arrow size
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 25 Mar 2014 17:47:08 +0000 (17:47 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 1 Apr 2014 10:32:24 +0000 (10:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=727037

gtk/resources/theme/gtk-win32-base.css

index f9b4834c6ec2fb180f109375b8f6ef1a66d26875..6d7d400cbd14b65021222ad3d0ca4bab1f225164 100644 (file)
@@ -925,6 +925,17 @@ GtkSwitch.trough:active {
     padding: 3px 5px;
 }
 
+/* Add more padding to menus, increasing visible height of each menuitem */
+.menu * {
+  padding: 2px;
+}
+
+/* Make arrows a bit smaller to fit better into W32 theme
+   FIXME: they still have the wrong style though - angle instead of a filled triangle */
+GtkMenuItem {
+    -GtkMenuItem-arrow-scaling: 0.5;
+}
+
 /* Assistant */
 
 GtkAssistant .sidebar .highlight {